package cn.kone.system.service;

import cn.kone.system.domain.Employee;
import cn.kone.system.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService {

    //查询单个
    Employee findOne(Long id);

    //查询所有
    List<Employee> findAll();

    //新增
    void addEmployee(Employee employee);

    //修改
    void updateEmployee(Employee employee);

    //删除
    void deleteEmployee(Long id);

    //高级查询+分页查询
    List<Employee> pageQuery(EmployeeQuery employeeQuery);

    //批量删除
    void batchDeleteEmployee(Long[] ids);

}
